// 图文资讯
import axios from "@/utils/axios.js";

// 获取图文分类
export const getImgCategory = () => {
  return axios({
    url: "/api/getimgcategory",
  });
};

// 获取图文资讯列表
export const getImages = (id) => {
  return axios({
    url: `/api/getimages/${id}`,
  });
};

// 获取图文资讯详细内容
export const getImageInfo = (id) => {
  return axios({
    url: `/api/getimageInfo/${id}`,
  });
};

//  获取图文图片
export const getThumImages = (id) => {
  return axios({
    url: `/api/getthumimages/${id}`,
  });
};
